<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" />
		<link rel="stylesheet" type="text/css" href="css/app.css" />
	</head>

	<body>
		<div class="mui-content">
			<div class="mui-card" style="margin-top: 6px;">
				<div class="mui-row">
					<textarea id="CONTENT" class="hmx-text-darkgray2" name="" rows="6" cols="" placeholder="请输入遇到的问题或建议……"></textarea>
				</div>
			</div>
			<div class="mui-card">
				<div class="mui-row" style="line-height: 28px;">
					<div class="mui-col-xs-3 hmx-text-darkgray2 mui-text-center" style="color: black;">
						联系电话
					</div>
					<div class="mui-col-xs-9">
						<input id="TELPHONE" class="hmx-text-darkgray2" name="" id="" value="" placeholder="选填，便于我们联系你" />
					</div>
				</div>
			</div>

			<button onclick="mSubmit()" type="button" class="mui-btn mui-btn-block hmx-btn-orange hmx-btn-lg" style="margin: 60px 12px 0 12px;width: -webkit-calc(100% - 24px);">提交</button>
		</div>
		<script src='js/jquery-2.1.4.min.js'></script>
		<script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/common.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init();

			function mSubmit() {
				$.ajax({
					type: "get",
					url: $.getContextPath() + "/weixin/wxfeedback/saveFeedback",
					async: true,
					data: {
						CONTENT: $('#CONTENT').val(),
						TELPHONE: $('#TELPHONE').val()
					},
					success: function(r) {
						alert('谢谢您的宝贵意见~');
//						window.history.go(1 - window.history.length);
						window.history.go(-1);
					}
				});
			};
		</script>
	</body>

</html>